package com.lzt.yijian.mvp.presenter;

import android.content.Context;

import com.lzt.yijian.api.inter.ObserverOnNextListener;
import com.lzt.yijian.bean.WeatherEntity;
import com.lzt.yijian.mvp.module.SplashModule;
import com.lzt.yijian.mvp.module.SplashModuleImpl;
import com.lzt.yijian.mvp.view.activity.SplashView;

public class SplashPresenterImpl implements SplashPresenter, ObserverOnNextListener<WeatherEntity> {

    private SplashView mSplashView;
    private SplashModule mSplashModule = new SplashModuleImpl();
    private String TAG = "SplashPresenterImpl";

    public SplashPresenterImpl(SplashView splashView) {
        this.mSplashView = splashView;
    }

    @Override
    public void onCheckLogin(Context context) {
        mSplashModule.checkLogin(context, mSplashView);

    }

    @Override
    public void onNext(WeatherEntity weatherEntity) {

    }
}
